package user

import (
	"github.com/gogf/gf/v2/frame/g"
)

type LoginUserInfoReq struct {
	g.Meta `path:"/userInfo" tags:"用户相关" method:"get" summary:"根据Token获取用户信息"`
}

type UpdatePassReq struct {
	g.Meta      `path:"/modify/pass" tags:"用户相关" method:"post" summary:"更新密码"`
	Id          int    `json:"id" dc:"用户ID"`
	OldPassword string `json:"oldPassword" dc:"旧密码"`
	NewPassword string `json:"newPassword" dc:"新密码"`
}
